<!-- 下载 -->
<article style="position: relative;">
  <div class="blogs left-box">

  <!--   <div class="clear blank"></div> -->
  <?php
  if(!empty($taglist))
    include _include(APP_PATH."plugin/di_blogs/html/catelist.htm");
  ?>


    <div class="clear blank"></div>
    <div class="blogs-box whitebg">
          <div class="news-title">
           <span class="hnav">
             <a href="#">默认</a>
             <a href="#">按下载量</a>
             <a href="#">按点击量</a>
          </span>
        <h2><a href="/category-<?php echo $fid;    ?>">
          <?php  echo $forum['name'];  ?></a>
        </h2>

      </div>
      <div class="download-list">
        <ul>
        <?php

        if($threadlist) {
        foreach($threadlist as &$_thread) {
         if(!empty($tagid))  if($_thread['tagids'] != $tagid)  continue;
        ?>
          <li>
            <h3><a href="/article-<?php echo $_thread['tid']; ?>.html"><?php echo $_thread['subject']; ?></a></h3>
            <i><img src="<?php if(!empty($_thread['image'])) echo $_thread['image'];else echo 'http://menhu.yangqq.com/skin/menhu/images/ex01.png'; ?>" alt="<?php echo $_thread['subject']; ?>"></i>
            <p><?php $message=post_read($_thread['firstpid'])['message']; echo xn_substr(strip_tags($message),0,90);  ?></p>
            <span class="down-info">
              类型：<em> <font color="red">
                <?php  echo tag_read($_thread['tagids'])['name'];  ?>
                        </font></em>
              下载次数：<em> <font color="red"> 0 </font></em>
              更新时间：<em><font color="red">2019-05-04</font></em>
            </span>
            <span class="down-bth"><a href="/article-<?php echo $_thread['tid']; ?>.html" >前往下载</a></span>
          </li>
          <?php }} ?>

        </ul>
      </div>
      <div class="pagelist"></div>
    </div>
  </div>
  <!-- 右侧 -->
<?php include _include(APP_PATH.'plugin/di_blogs/html/right.inc.htm'); ?>

</article>
